From 796e1b0cdf758dbf18028275a3b2beb4bb36940f Mon Sep 17 00:00:00 2001 From: "cl349@firebug.cl.cam.ac.uk" Date: Wed, 7 Sep 2005 12:49:52 +0000 Subject: [PATCH] Add copyright notice and g/c some unused code. Signed-off-by: Christian Limpach --- tools/python/xen/xend/xenstore/xswatch.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tools/python/xen/xend/xenstore/xswatch.py b/tools/python/xen/xend/xenstore/xswatch.py index 970822c6ea..87b79ee7d6 100644 --- a/tools/python/xen/xend/xenstore/xswatch.py +++ b/tools/python/xen/xend/xenstore/xswatch.py @@ -1,3 +1,8 @@ +# Copyright (C) 2005 Christian Limpach + +# This file is subject to the terms and conditions of the GNU General +# Public License. See the file "COPYING" in the main directory of +# this archive for more details. import select import threading @@ -9,7 +14,6 @@ class xswatch: threadcond = threading.Condition() xs = None xslock = threading.Lock() - watches = [] def __init__(self, path, fn, args=(), kwargs={}): self.fn = fn @@ -19,7 +23,6 @@ class xswatch: xswatch.xslock.acquire() xswatch.xs.watch(path, self) xswatch.xslock.release() - xswatch.watches.append(self) def watchStart(cls): cls.threadcond.acquire() -- 2.30.2